﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.Exporter.Models
{
	public static class ModelConverter
	{
		public static BanishedProduct ToBanishedProduct(this Repositories.Datas.BanishedProductBySource data)
		{
			var model = new BanishedProduct();
			model.ReleaseDate = data.ReleaseDate;
			model.ProductId = data.ProductId;
			model.SourceId = data.SourceId;
			model.CreationDate = data.CreationDate;
			return model;
		}
	}

}
